package com.zjq.pojo;

import java.sql.Timestamp;

/**
 * Detail entity. @author MyEclipse Persistence Tools
 */

public class Detail implements java.io.Serializable {

	// Fields

	private Integer did;
	private Role roleByStuname;
	private Role roleByNextauditor;
	private Role roleByAuditor;
	private Integer state;
	private Timestamp creattime;

	// Constructors

	/** default constructor */
	public Detail() {
	}

	/** minimal constructor */
	public Detail(Role roleByStuname) {
		this.roleByStuname = roleByStuname;
	}

	/** full constructor */
	public Detail(Role roleByStuname, Role roleByNextauditor,
			Role roleByAuditor, Integer state, Timestamp creattime) {
		this.roleByStuname = roleByStuname;
		this.roleByNextauditor = roleByNextauditor;
		this.roleByAuditor = roleByAuditor;
		this.state = state;
		this.creattime = creattime;
	}

	// Property accessors

	public Integer getDid() {
		return this.did;
	}

	public void setDid(Integer did) {
		this.did = did;
	}

	public Role getRoleByStuname() {
		return this.roleByStuname;
	}

	public void setRoleByStuname(Role roleByStuname) {
		this.roleByStuname = roleByStuname;
	}

	public Role getRoleByNextauditor() {
		return this.roleByNextauditor;
	}

	public void setRoleByNextauditor(Role roleByNextauditor) {
		this.roleByNextauditor = roleByNextauditor;
	}

	public Role getRoleByAuditor() {
		return this.roleByAuditor;
	}

	public void setRoleByAuditor(Role roleByAuditor) {
		this.roleByAuditor = roleByAuditor;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Timestamp getCreattime() {
		return this.creattime;
	}

	public void setCreattime(Timestamp creattime) {
		this.creattime = creattime;
	}

}